package com.aopcinemas.cinema.model;

import jade.content.Concept;

/**
 * @author Artjom Kruglenkov
 * @author Ilja Gaitsenja
 */
public class Session implements Concept {

    private static final long serialVersionUID = 1L;

    private long id;
    private int row;
    private int seat;
    private Schedule schedule;
    private Invoice invoice;

    public Session() {
    }

    public Session(int row, int seat, Schedule schedule, Invoice invoice) {
        this.row = row;
        this.seat = seat;
        this.schedule = schedule;
        this.invoice = invoice;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public int getSeat() {
        return seat;
    }

    public void setSeat(int seat) {
        this.seat = seat;
    }

    public Schedule getSchedule() {
        return schedule;
    }

    public void setSchedule(Schedule schedule) {
        this.schedule = schedule;
    }

    public Invoice getInvoice() {
        return invoice;
    }

    public void setInvoice(Invoice invoice) {
        this.invoice = invoice;
    }
}
